
package de.uni.wuppertal.server;

import java.util.Date;

import javax.swing.ImageIcon;

/**
 * @author Martin Schröder
 * @author Patrik Nordsiek
 */
public abstract class LogEntry
{
	protected String message;
	protected Date created = new Date();
	
	public abstract ImageIcon getIcon();
	
	public Date getCreated()
	{
		return created;
	}
	
	public String getMessage()
	{
		return message;
	}
	
	@Override
	public String toString()
	{
		return message;
	}
}
